package com.itheima.dao;

import com.itheima.pojo.OrderSetting;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderSettingDao {

    OrderSetting findOrderSettingByDate(OrderSetting orderSetting);

    void add(OrderSetting orderSetting);

    void update(OrderSetting orderSetting);

    List<OrderSetting> findBetWeenDate(@Param("start") String start, @Param("end") String end);

    void updateNumber(@Param("date") String date, @Param("number") Integer number);

    OrderSetting findDate(String date);

    void updatereservations(@Param("orderDate") String s);

}
